package com.zjcloud.academic.domain;

import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 排课结果对象 sc_schedule_result
 * 
 * @author zjcloud
 * @date 2024-01-01
 */
public class ScScheduleResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 结果ID */
    private Long id;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 教师ID */
    @Excel(name = "教师ID")
    private Long teacherId;

    /** 教室ID */
    @Excel(name = "教室ID")
    private Long classroomId;

    /** 时间段ID */
    @Excel(name = "时间段ID")
    private Long timeSlotId;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 排课批次 */
    @Excel(name = "排课批次")
    private String scheduleBatch;

    /** 状态(1:有效,0:无效) */
    @Excel(name = "状态", readConverterExp = "0=无效,1=有效")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setClassroomId(Long classroomId) 
    {
        this.classroomId = classroomId;
    }

    public Long getClassroomId() 
    {
        return classroomId;
    }
    public void setTimeSlotId(Long timeSlotId) 
    {
        this.timeSlotId = timeSlotId;
    }

    public Long getTimeSlotId() 
    {
        return timeSlotId;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setScheduleBatch(String scheduleBatch) 
    {
        this.scheduleBatch = scheduleBatch;
    }

    public String getScheduleBatch() 
    {
        return scheduleBatch;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("teacherId", getTeacherId())
            .append("classroomId", getClassroomId())
            .append("timeSlotId", getTimeSlotId())
            .append("classId", getClassId())
            .append("scheduleBatch", getScheduleBatch())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}